/*
 * Copyright (c) 2009, Jan Pastor. All Rights Reserved.
 */

package sk.jp.jitag.dao.db4o;

import java.util.LinkedHashMap;

import com.db4o.ext.ExtObjectContainer;

import sk.jp.commons.exception.ApplicationException;

/**
 * Throwed when transaction was rollbacked.
 * <P>Clients can process this event for refresh entities -
 * see {@link ExtObjectContainer#refresh(Object, int)} for refreshs all members
 * on a stored object to the specified depth.
 */
public class TransactionRolledbackException extends ApplicationException {

    public TransactionRolledbackException(String message) {
        super(message);
    }

    public TransactionRolledbackException(String message, Throwable cause) {
        super(message, cause);
    }

    public TransactionRolledbackException(Throwable cause) {
        super(cause);
    }

    public TransactionRolledbackException(String message, String code,
                                          LinkedHashMap<String, Object> params,
                                          Throwable cause) {
        super(message, code, params, cause);
    }
    
}
